﻿
@if (Session[GTCAS.WebApplication.Common.Constants.KEY_SESSION.USER_INFO]!=null)
{
    <text>
        @{
        var userinfo = (GTCAS.WebApplication.Models.UserInfoModel)Session[GTCAS.WebApplication.Common.Constants.KEY_SESSION.USER_INFO];
        }
        @userinfo.HoTen ||
        @using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm" })) {
            @Html.AntiForgeryToken()
            <a href="javascript:document.getElementById('logoutForm').submit()">Thoát</a>
        }
    </text>
}else{
    <text>
Khách
 </text>
}

